//
//  DesignWebViewController.m
//  BProject
//
//  Created by lanou3g on 15/8/17.
//  Copyright (c) 2015年 久远的回忆. All rights reserved.
//

#import "DesignWebViewController.h"

@interface DesignWebViewController () <UIWebViewDelegate>

@end

@implementation DesignWebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    _webView = [[UIWebView alloc]initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT - 70)];
    [self.view addSubview:_webView];
    [self.view bringSubviewToFront:self.myImageView];
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:_model.post[@"appview"]]];
    [_webView loadRequest:request];
    _webView.delegate = self;

    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
